<form id="add-form" role="form" data-toggle="validator" method="POST" action="<?= Tools::siteurl("attachment/add") ?>">
    <div class="row">
        <div class="col-xs-12 col-sm-12">
            <div class="form-group">
                <label for="type" class="control-label">文件1:</label>
                <div class="form-inline">
                    <input type="text" class="form-control" data-plupload-id="plupload-sel1-text" name="row[url]" value="" size="50" required="required" />
                    <span><button id="plupload-sel1" class="btn btn-danger plupload" ><i class="fa fa-upload"></i> 上传文件1</button></span>
                </div>
            </div>
            <div class="form-group">
                <label for="type" class="control-label">文件2(带自定义回调):</label>
                <div class="form-inline">
                    <input type="text" class="form-control" data-plupload-id="plupload-sel2-text" name="row[url]" value="" size="50" required="required" />
                    <span><button id="plupload-sel2" class="btn btn-danger plupload" data-after-uploaded="afteruploaded" ><i class="fa fa-upload"></i> 上传文件2</button></span>
                </div>
            </div>

        </div>
    </div>
</form>